﻿<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <Header>
    <Title>DevExpress MVC Label</Title>
    <Author>Žeks</Author>
    <Shortcut>dxlbl</Shortcut>
    <Description></Description>
    <SnippetTypes>
      <SnippetType>Expansion</SnippetType>
    </SnippetTypes>
  </Header>
  <Snippet>
    <Declarations>
      <Literal>
        <ID>tekst</ID>
        <Default>Text</Default>
      </Literal>
      <Literal>
        <ID>control</ID>
        <Default></Default>
      </Literal>
    </Declarations>
    <Code Language="HTML">
      <![CDATA[
@Html.DevExpress().Label(label =>
{
    label.Text = "$tekst$:";
    label.ControlStyle.CssClass = "label";
    label.AssociatedControlName = "$control$";
}).GetHtml()
      ]]>
    </Code>
  </Snippet>
</CodeSnippet>